<?php
if(!defined('IN_IBEIKE')) {
	exit('Access Denied');
}

class table_user_basicinfo extends common_table
{
	public function __construct() {

		$this->_table = 'user_basicinfo';
		$this->_pk    = 'uid';

		parent::__construct();
	}
	public function fetch_all_by_uid($uid){
		if(!empty($uid)&&$uid){
			return DB::fetch_all('SELECT * FROM %t WHERE uid=%s',array($this->_table,$uid));//返回数组包含各个字段的值
		}
		return false;
	}

	
}
?>